package com.baymax.test.scene.demo

import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.baymax.test.scene.BaseScene
import com.baymax.test.scene.addButton
import com.baymax.test.scene.newSceneFlexContainer


class HJQScene : BaseScene() {
    override fun onCreateView(p0: LayoutInflater, p1: ViewGroup, p2: Bundle?): View {
        return p1.newSceneFlexContainer {
//            addButton("bind") {
//                val connection: ServiceConnection = HJQServiceConnection()
//                val intent = Intent()
//                intent.setPackage("cm.komect.aqb.android.hjqbind")
//                intent.action = "cm.komect.aqb.android.hjqbind.BIND_LOCAL_SERVICE"
//                bindService(intent, connection, Context.BIND_AUTO_CREATE)
//            }
        }
    }
}